package com.tastyshop.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class MainController {
	
	// index.jsp 에서 호출된 maid.do 매핑해서 tiles.xml에 definition name="main"을 찾아감
	@RequestMapping(value="/main.do", method=RequestMethod.GET)
	public String main() throws Exception{
		return "main";
	}
}
